<!DOCTYPE html>
<html>
    <head lang="en">
        <meta charset="UTF-8">
        <title></title>
        <script src="splitRoll.js"></script>
    </head>
    <body>
        <script>
            var test = new Carousel(['image/1.jpg','image/2.jpg','image/3.jpg','image/4.jpg']);
            test.creat();
            test.event();
            var test2 = new Carousel(['image/5.jpg','image/6.jpg','image/7.jpg','image/8.jpg']);
            test2.creat();
            test2.event();
        </script>
    </body>
</html>